#!/bin/bash

# 进入项目目录
cd "$(dirname "$0")/.."

# 安装依赖
go mod tidy

# 编译
go build -o bin/server cmd/main.go

# 运行
./bin/server 